package edu.sdjzu.exam.dto.cheat;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class EnvironmentLogDTO {
    @NotNull(message = "考试会话ID不能为空")
    private Long sessionId;
    private Boolean screenSharing;
    private Boolean virtualMachine;
    private Boolean multipleMonitors;
    private Boolean fullscreenMode;
    private Double networkSpeed;
    private Double noiseLevel;
    private Boolean faceDetected;
    private String suggestions;
    @NotNull(message = "日志时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime logTime;
}
